package com.buddy.design.pattern._01factory.abstractfactory;

import com.buddy.design.pattern._01factory.Course;
import com.buddy.design.pattern._01factory.JavaCourse;
import com.buddy.design.pattern._01factory.Node;
import com.buddy.design.pattern._01factory.simplefactory.JavaNode;

public class JavaCourseFactory implements CourseFactory {
    @Override
    public Course createCourse() {
        return new JavaCourse();
    }

    @Override
    public Node createNode() {
        return new JavaNode();
    }
}
